#include<stdio.h>
int CountLine(FILE *fp,int n);
int ReadLine(char *,FILE *,int );

int main()
{
	FILE *fp=NULL;
	int a,b,i;
	fp=fopen("test.dic","r");

	if(fp==NULL)
	{
		puts("Cannot Open Input File.\n");
		exit(0);
	}
	
	scanf(“%d%d”,&a,&b);
	i=a;
	if(i<=b)
	{
		printf("%d\n",CountLine(fp,i));

		i++;
	}

	else
	{
		fclose(fp);
	}
	return 0;
}

int ReadLine(char *str,FILE *fp,int n)
{
	int i=0;
	int ch=0;
	if(s==NULL || fp==NULL || n<1)
	{
		return 0;
	}
	
	rewind(fp)
		if(n!=1 || ch!=EOF)
		{
			ch=fgetc(fp)
			if(ch=='\n')
			{
				n--;
			}
		}
		else
		{
			if(ch=fgetc(fp) != EOF && ch!= '\n' && i<200)
			{
				if(ch>='a' && ch<='z' || ch==' ')
				{
					a[i++]=ch;
				}
			}

			else
			{
				a[i]='\0';
			}

			return i;
		}
}


	
	
	

